package com.example.w.service;

import com.example.w.dto.PunchRecord;
import com.fasterxml.jackson.databind.ObjectMapper;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Service;

import java.io.IOException;
import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import java.util.Date;
import java.util.HashMap;
import java.util.Map;
import java.util.UUID;

@Service
public interface WeLinkIntegrationService {
    //将打卡机打卡数据发送给WeLink
    void sendToWeLink(PunchRecord record) throws IOException, InterruptedException;
}
